import request from '@/utils/request/requestServer'
const apiPrefix= '/prod-api'
/**
* @Description: 获取有权限的线路
* @Author: 王燕欣
* @Date: 2024-09-27 11:14
*/
export function getAuthRouteListApi(query){
  return request({
    url:apiPrefix+'/hibcp-base-data/route/getAuthRouteList',
    method: 'get',
    params: query,
  });
}

/**
* @Description: 根据线路ID获取子线列表
* @Author: 王燕欣
* @Date: 2024-10-16 10:34
*/
export function getSubRouteListByRouteIdApi(query) {
  return request({
    url: apiPrefix + '/hibcp-base-data/subRoute/getSubRouteListByRouteId',
    method: 'get',
    params: query,
  });
}


/**
* @Description: 根据线路ID获取车辆列表
* @Author: 王燕欣
* @Date: 2024-09-27 11:33
*/
export function getBusListByRouteIdApi(query) {
  return request({
    url: apiPrefix+"/hibcp-base-data/bus/getBusListByRouteId",
    method: 'get',
    params: query
  })
}


/**
* @Description: 获取政府指标监控
* @Author: 王燕欣
* @Date: 2024-10-26 15:19
*/
export function getGovernmentIndicatorsListApi(query) {
  return request({
    url: apiPrefix + '/fdis-dispatch/aomeng/govt/report/getAppDataCount',
    method: 'post',
    data: query
  })
}